TArray.IndexOf<T>(T[],T,Integer,Integer) Method

Searches for the specified element and returns the index of the first occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.

Namespace: Spring
public
 class function IndexOf<T>(const values: array of T; const item: T;
 index, count: Integer): Integer; overload; static;

Type Parameters

T

Parameters

values
Type: array of T

item
Type: T

index
Type: Integer

count
Type: Integer

Return Value

Type: Integer